MySQL query for selecting distinct rows with all possible values in a column

visit shbcf.ru